#ifndef CBORDER_H_
#define CBORDER_H_

#include "../model/ccolor.h"
#include "../math/cmath.h"

/**
 * CBorder - class representing borders of gui object
 * @author Michal Rost
 * @date 28.03.2008
 */
class CBorder : public CObject {
public:
  CBorder();
  CBorder(unsigned short size, CColor color, unsigned char alpha = 255);
  unsigned short getSize() const;
  unsigned char getAlpha() const;
  CColor getColor() const;
  void setSize(unsigned short size);
  void setAlpha(unsigned char alpha);
  void setColor(CColor color);
  string toString();
  static std::string getClassName() {
    return "CBorder";
  }
protected:
  unsigned short size;
  unsigned char alpha;
  CColor color;
};

#endif
